<!--{template common/header}-->
<!--{if $tagname}-->
<div  class="g_mbx cl">
	<div class="z">
		<a href="./" class="nvhm" title="{lang homepage}">{lang homepage}</a><em>&rsaquo;</em><a href="forum.php?forumlist=1&mobile=2">{$_G[setting][navs][2][navname]}</a><em>&rsaquo;</em><a href="misc.php?mod=tag">{lang tag}</a><em>&rsaquo;</em>$tagname
	</div>
</div>



<div class="threadlist">

	<ul>
	<!--{if empty($showtype) || $showtype == 'thread'}-->

				<!--{if $threadlist}-->

						<!--{loop $threadlist $thread}-->
					<li>				
                    <a href="forum.php?mod=viewthread&tid=$thread[tid]">

                    <div class="threadinfo">
                    	<img src="<!--{avatar($thread[authorid], small, true)}-->" />
                    	<p >
                        	<span class="replies">
                    	 		<i class="fa fa-comments-o fa-1x "></i>  {$thread[replies]}<i class="fa fa-eye fa-1x mbl10"></i>  {$thread[views]} 
                    		</span> 
                        	<span class="username">$thread[author]</span>
                            <span class="datetime">$thread[lastpost]</span>                            
                        </p>
                    </div>
					<h3>{$thread[subject]}</h3>
 					
					</a>
					</li>
						<!--{/loop}-->

					<!--{if empty($showtype)}-->

							<li class="gengduo"><a href="misc.php?mod=tag&id=$id&type=thread">{lang more}...</a></li>

					<!--{else}-->
						<!--{if $multipage}--><div class="pgs mtm cl">$multipage</div><!--{/if}-->
					<!--{/if}-->
				<!--{else}-->
					{lang no_content}
				<!--{/if}-->

	<!--{/if}-->
</ul>

</div>

<!--{else}-->
<div  class="g_mbx cl">
	<div class="z">
		<a href="./" class="nvhm" title="{lang homepage}">{lang homepage}</a><em>&rsaquo;</em><a href="forum.php?forumlist=1&mobile=2">{$_G[setting][navs][2][navname]}</a><em>&rsaquo;</em><a href="misc.php?mod=tag">{lang tag}</a>
	</div>
</div>



				<form method="post" action="misc.php?mod=tag" class="pns">

	<div class="search" style="min-height: 300px;">

			<table width="100%" cellspacing="0" cellpadding="0">

				<tbody>

					<tr>

						<td>
							<input type="text" name="name" class="input"  />

						</td>

						<td width="66" align="center" >
							<button type="submit" class="button2" >{lang search}</button>

						</td>

					</tr>

				</tbody>

			</table>
		<div class="notag">{lang empty_tags}</div>
	</div>
</form>
				

<!--{/if}-->
<!--{template common/footer}-->